﻿using System;
using System.ComponentModel.DataAnnotations;
using CodeFirstMembershipSharp;

namespace StyleCreator.Entities
{
    public class Message
    {
        public int MessageID { get; set; }
        [Required]
        public int Author { get; set; }
        public int Destination { get; set; }
        public string Subject { get; set; }
        public string Text { get; set; }
        public bool IsReply { get; set; }
        public DateTime Date { get; set; }
        public Guid UserID { get; set; }

        public virtual User User { get; set; }
    }

}